package com.yyds.blackmagic.service;

import com.yyds.blackmagic.entity.User;

import java.util.List;

/**
 * @Author ccc
 * @Date 2021/12/13
 * @Descripton
 */

public interface UserService {
    List<User> findAll();

    User findByUsername(String username);

    User addUser(User user);

    User updateUser(User user);

    boolean deleteUser(int id);
}
